home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20020314-20021006 / 000008_fdc@columbia.edu_Tue Apr 2 11:18:03 EST 2002.msg < prev    next >
Text File  |  2002-10-06  |  5KB  |  126 lines

  1. Article: 13277 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Kermit vs FTP
  6. Date: 2 Apr 2002 11:17:50 -0500
  7. Organization: Columbia University
  8. Lines: 109
  9. Message-ID: <a8clje$5n5$1@watsol.cc.columbia.edu>
  10. References: <5b90c2d0.0204012053.6247528@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1017764271 23583 128.59.39.139 (2 Apr 2002 16:17:51 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 2 Apr 2002 16:17:51 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13277
  16.  
  17. In article <5b90c2d0.0204012053.6247528@posting.google.com>,
  18. Computer <xms656@hotmail.com> wrote:
  19. : Hi, I am a university student who downloads many files for my course
  20. : from many ifferent places on the internet and the uni's own servers.
  21. : Now, everyone keeps telling me things such as FTP is quick and Kermit
  22. : is slow or Kermit is good and FTP is garbage, and so forth...
  23. : Can anyone tell me what are their main differences (features?) and/or
  24. : what is the same about them to clear things up for me?
  25. :
  26. We haven't written a detailed comparison of FTP and Kermit at the
  27. protocol level, but you can get a fair idea of the functional differences
  28. here:
  29.  
  30.   http://www.columbia.edu/kermit/iksd.html
  31.  
  32. and in somewhat more detail here:
  33.  
  34.   ftp://ftp.isi.edu/in-notes/rfc2839.txt
  35.  
  36. By the way, the instant you say "ftp", some people might say "Don't
  37. use ftp, use SCP (or SFTP)!"  It's a knee-jerk reaction these
  38. days (similar to "Don't use Telnet, use SSH!"), and it's based on the false
  39. assumption that FTP and Telnet are inherently insecure.  They are not:
  40.  
  41.   http://www.columbia.edu/kermit/security.html#servers
  42.  
  43. Of course, neither is Kermit:
  44.  
  45.   http://www.columbia.edu/kermit/security.html
  46.  
  47. However, an advantage shared by both FTP and Kermit over SCP and SFTP is
  48. that they are intrinsically platform-neutral, in the spirit of proper
  49. network application protocols.
  50.  
  51. For eompleteness, I should mention that modern Kermit software does FTP
  52. too:
  53.  
  54.   http://www.columbia.edu/kermit/ftpclient.html
  55.  
  56. and for that matter can also act as an SSH service replacing SFTP:
  57.  
  58.   http://www.columbia.edu/kermit/skermit.html
  59.  
  60. As for speed, that's a well-worn topic; it's discussed at some length here:
  61.  
  62.   http://www.columbia.edu/kermit/kermit.html#notslow
  63.  
  64. FTP has always been fast, because essentially it's no protocol at all -- it
  65. just copies the bytes of the file from source to destination.  Kermit, on
  66. the other hand, is a whole layered communications protocol, itself layered
  67. on top of TCP and IP (or any other transport), originally designed more
  68. with robustness in mind than speed.  By design, the Kermit protocol is also
  69. extensible and has indeed been extended to go fast when conditions allow.
  70.  
  71. As an aside, in case you think executing a whole protocol stack on top
  72. of another one is silly, you might want to read this:
  73.  
  74.   http://www.columbia.edu/kermit/case10.html
  75.  
  76. Modern Kermit programs (i.e. dating from 1998 or so) include a special
  77. adaptation to the Internet called "streaming", which makes their data
  78. transfer throughput about the same as FTP.  Streaming is discussed here:
  79.  
  80.   http://www.columbia.edu/kermit/ckermit70.html#x4.20
  81.  
  82. but bear in mind that the benchmarks and figures in that document are based
  83. on equipment and networks that are slow by today's standards.
  84.  
  85. If you want to compare Kermit and FTP performance yourself, you can do so
  86. easily.  First obtain an up-to-date copy of C-Kermit or Kermit 95:
  87.  
  88.   http://www.columbia.edu/kermit/
  89.  
  90. and then use it to transfer files with Columbia's Internet Kermit Service:
  91.  
  92.   http://www.columbia.edu/kermit/cuiksd.html
  93.  
  94. A good mix would be a text file, a compressed file (e.g. Zip or Gzip), and
  95. an uncompressed binary file, largish in size.  Transfer the same files 
  96. using your FTP client on the same computer on an FTP connection to:
  97.  
  98.   ftp://kermit.columbia.edu/kermit/
  99.  
  100. which is the same server, and compare the numbers.  If you have trouble
  101. making an FTP connection, read this:
  102.  
  103.   http://www.columbia.edu/kermit/ftphlp.html
  104.  
  105. Obviously there will be statistical variations in your measurements since
  106. the network and servers are not steady-state, so your trials should account
  107. for that.
  108.  
  109. To make it easy (in case this is a homework assignment), I've set up the
  110. following directory:
  111.  
  112.   ftp://kermit.columbia.edu/kermit/bench/
  113.  
  114. It contains three files, each of them about 737K (3/4 MB) in length:
  115.  
  116.   x.txt  -- Plain ASCII text
  117.   x.bin  -- An uncompressed binary file (an m68k executable)
  118.   x.tgz  -- A tar archive compressed by Gzip
  119.  
  120. Uploading is problemetic since obviously we don't allow wide-open
  121. unrestricted public uploads, so I'd recommend you measure upload
  122. performance at a site where you have login access.
  123.  
  124. - Frank
  125.